﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using TM.Model;

namespace TM.Data.ViewModels.VmMapper
{
    public interface IVmMapper
    {
        Session ExtractFromDbo(bool brief = false, Guid? projectId = null);
        Session ExtractFromDboAsDataSet(bool brief = false, Guid? projectId = null);
        VmProject ExtractProjectDbo(Project projectDbo, bool brief = false);

        List<ProjectTask> ExtractTaskDboFormSession(Session session);
        List<ProjectTask> ExtractTaskDboFormSessionInAppointment(Session session);
        List<VmProjectTask> ExtractVmTasksFormSession(Session session);
    }
}
